C1.WPF Namespace > Extensions Class > MakeRelative Method : MakeRelative(Popup,FrameworkElement,Func<List<AnchorMatching>>) Method |
'Declaration
<System.Runtime.CompilerServices.ExtensionAttribute()> Public Overloads Shared Sub MakeRelative( _ ByVal popup As System.Windows.Controls.Primitives.Popup, _ ByVal relativeElement As System.Windows.FrameworkElement, _ ByVal getLocations As System.Func(Of List(Of AnchorMatching)) _ )
'Usage
Dim popup As System.Windows.Controls.Primitives.Popup Dim relativeElement As System.Windows.FrameworkElement Dim getLocations As System.Func(Of List(Of AnchorMatching)) Extensions.MakeRelative(popup, relativeElement, getLocations)
[System.Runtime.CompilerServices.Extension()] public static void MakeRelative( System.Windows.Controls.Primitives.Popup popup, System.Windows.FrameworkElement relativeElement, System.Func<List<AnchorMatching>> getLocations )
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2